package jeme.io;

import java.io.PrintStream;

/**
 * 
 * 
 * @author Erik Silkensen (silkense@colorado.edu)
 * @version Jan 24, 2009
 */
public class SchemeOutputPort extends SchemePort
{
    /**
     * 
     */
    public static final SchemeOutputPort out = new SchemeOutputPort(System.out);
    
    private PrintStream port;
    
    /**
     * 
     * @param port
     */
    public SchemeOutputPort(PrintStream port)
    {
        this.port = port;
    }
    
    /**
     * 
     * @param obj
     */
    public void print(Object obj)
    {
        port.print(obj);
    }
}
